$(document).ready(function(){

	
	//remove food bg
	var dashboard = $('.dashboard');
	var profile = $('.profile');
	
	if (dashboard.length == 1) {
		 removeBG()
	};

	if (profile.length == 1) {
		removeBG()
	};

	//Login and register error
	$('.input_error').insertAfter('input[name="submit"]');

});

function removeBG(){
	$('.main-wrapper').removeClass('im-banner');
	$('#content').css('margin-bottom', '35px');
}